
The Distance Condition measures the distance between two particles or objects.
You may choose any two objects you want to measure the distance between,
even standard 3ds Max mesh objects can be piped into this condition and
used for the distance measurement. When you want to use a mesh, an ObjectToParticle
Operator or a Node
Helper creates the relevant information to be used as position inputs.
Whenever the distance reaches a certain amount, a "true" output
is generated.
ON - (Bool) This input data
stream determines whether the operator is considered 'on' or 'off'. You
can connect other operators to this input channel such as a Bool Helper
to activate/deactivate the whole operator.
Time - (Time) This input data stream is used to define the local
time for the operator when the user wants to override the default system
time.
Position 1 - (Position) This input data stream is used to define
the first node or object that is to be used to determine the distance
value. Without two nodes, this condition will not function.
Position 2 - (Position) This input data stream is used to define
the second node or object that is to be used to determine the distance
value. Without two nodes, this condition will not function.
Radius 1 - (Scalar) This input data stream is used to override
the Radius 1 spinner setting.
Radius 2 - (Scalar) This input data stream is used to override
the Radius 2 spinner setting.
Output - (Bool) This output
data stream sends a true message if the distance value is reached, and
a false message the distance is not met.
Distance - (Distance) This output data stream sends out the current
distance between the two selected nodes or objects.
Direction - (Direction) This output data stream sends out a normalized
XYZ direction (direction only, no length) that is generated the two selected
nodes or objects. The direction is determined from Position 1 to Position
2.

Radius 1 - This spinner sets the minimum radius that is taken
into account to measure the distance between objects. If the distance
between the two selected nodes lies within the range of Radius 1 to Radius
2, the output is set to true (logical 1).
Radius 2 - This spinner sets the maximum radius that is taken
into account to measure the distance between objects. If the distance
between the two selected nodes lies within the range of Radius 1 to Radius
2, the output is set to true (logical 1).